package com.hst.capacity.application.biz;


import com.hst.capacity.domain.model.request.SignInParam;
import com.hst.capacity.domain.model.request.brand.BrandUserParam;
import com.hst.capacity.domain.model.request.brand.BrandUserSearchParam;
import com.hst.capacity.domain.model.response.PagingResultVO;
import com.hst.capacity.domain.model.response.auth.TokenVO;
import com.hst.capacity.domain.model.response.auth.UserBindingVO;
import com.hst.capacity.domain.model.response.brand.BrandUserVO;

public interface BrandBiz {

    /**
     * 用户登录：用户名 + 密码，返回Token
     *
     * @param param
     * @return TokenVO
     */
    TokenVO signIn(SignInParam param);

//    /**
//     *  获取用户关联信息
//     *
//     * @param userId
//     * @return UserBindingVO
//     * */
//    UserBindingVO getUserBindingInfo(String userId);

    /**
     * 用户登出
     *
     * */
    String logout(String userId);

    PagingResultVO<BrandUserVO> search(BrandUserSearchParam param);

    String save(BrandUserParam param);

}
